package com.business.bean;

/**
 * Created by mengdexuan on 2017/1/15 14:38.
 */
public class TreeNode {

	private String clusterId;  //集群ID
	private String name;
	private boolean open = true;
	private TreeNode[] children;

	public String getClusterId() {
		return clusterId;
	}

	public void setClusterId(String clusterId) {
		this.clusterId = clusterId;
	}

	public TreeNode(){}

	public TreeNode(String name){this.name = name;}

	public TreeNode(String clusterId, String name) {
		this.clusterId = clusterId;
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isOpen() {
		return open;
	}

	public void setOpen(boolean open) {
		this.open = open;
	}

	public TreeNode[] getChildren() {
		return children;
	}

	public void setChildren(TreeNode[] children) {
		this.children = children;
	}
}
